<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>

<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<%@taglib uri="http://www.springframework.org/tags" prefix="spring"%> 

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
	</head>
	<body>
	
	<c:import url="./includes/topo.jsp"/>
	 
	<ul class="breadcrumb">
		<li> <a href="index">Home</a> <span class="divider"></span> </li>
		<li>Alterar senha</li>
	</ul>
	
	<form class="well form-inline" action="novaSenhaUsuario" method="post">
   		<fieldset class="grupo">
			<div class="grupo" >
				<c:if test="${usuario.alerta eq true}"> <!-- Equivale ao IF -->
					<div class="alert alert-error">
						<label> <img src="./img/action_stop.gif">&nbsp;<spring:message code="usuario.senha.incorreta"/> </label>
					</div>
				</c:if>
				<div class="campo">
				<div class="campo">
		        	<label  class="control-label" for="input01">Nova senha&nbsp;&nbsp;
		        		&nbsp;&nbsp;&nbsp;&nbsp;
		            <input  type="password" class="input-menor3"  name="senha"
		              		required x-moz-errormessage="Preencha este campo!">		              			
				</div>
				<div class="campo">
		        	<label  class="control-label" for="input01">Confirme senha&nbsp;
		            <input  type="password" class="input-menor3" name="confSenha"
		              		required x-moz-errormessage="Preencha este campo!">		              			
				</div>
			</div>
		</fieldset>
		<div class="cBoxBottom">
			<div class="form-actions">
				<button type="submit" class="btn btn-primary">Alterar</button>
				<a class="btn btn-warning" href="index">Voltar</a>
			</div>
		</div>		
     </form>
</body>
<c:import url="./includes/rodape.jsp"/>
</html>